import request from '@/utils/request'

// 任务列表

export function getAgreement(id) {
  return request({
    url: '/admin/agreement/' + id,
    method: 'get'
  })
}

export function updateAgreement(data) {
  return request({
    url: '/admin/agreement',
    method: 'put',
    data:data
  })
}
